home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 32 / CD Expert nº 32.iso / Unreal T / utdemo338.exe / System / UBrowser.u / UBrowserServerList_UBrowserServerGrid_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-09-27  |  9.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 56 93 01 2f 2f 3d 3d 3d |........|V..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 55 |========|==..// U|
|00000060| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 47 72 69 |BrowserS|erverGri|
|00000070| 64 20 2d 20 62 61 73 65 | 20 63 6c 61 73 73 20 66 |d - base| class f|
|00000080| 6f 72 20 73 65 72 76 65 | 72 20 6c 69 73 74 69 6e |or serve|r listin|
|00000090| 67 73 0d 0a 2f 2f 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |gs..//==|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 0d 0a 63 6c 61 | 73 73 20 55 42 72 6f 77 |===..cla|ss UBrow|
|000000f0| 73 65 72 53 65 72 76 65 | 72 47 72 69 64 20 65 78 |serServe|rGrid ex|
|00000100| 74 65 6e 64 73 20 55 57 | 69 6e 64 6f 77 47 72 69 |tends UW|indowGri|
|00000110| 64 3b 0d 0a 0d 0a 23 65 | 78 65 63 20 54 45 58 54 |d;....#e|xec TEXT|
|00000120| 55 52 45 20 49 4d 50 4f | 52 54 20 4e 41 4d 45 3d |URE IMPO|RT NAME=|
|00000130| 48 69 67 68 6c 69 67 68 | 74 20 46 49 4c 45 3d 54 |Highligh|t FILE=T|
|00000140| 65 78 74 75 72 65 73 5c | 48 69 67 68 6c 69 67 68 |extures\|Highligh|
|00000150| 74 2e 62 6d 70 20 47 52 | 4f 55 50 3d 22 49 63 6f |t.bmp GR|OUP="Ico|
|00000160| 6e 73 22 20 46 4c 41 47 | 53 3d 32 20 4d 49 50 53 |ns" FLAG|S=2 MIPS|
|00000170| 3d 4f 46 46 0d 0a 0d 0a | 76 61 72 20 55 42 72 6f |=OFF....|var UBro|
|00000180| 77 73 65 72 52 69 67 68 | 74 43 6c 69 63 6b 4d 65 |wserRigh|tClickMe|
|00000190| 6e 75 20 4d 65 6e 75 3b | 0d 0a 76 61 72 20 55 57 |nu Menu;|..var UW|
|000001a0| 69 6e 64 6f 77 47 72 69 | 64 43 6f 6c 75 6d 6e 20 |indowGri|dColumn |
|000001b0| 53 65 72 76 65 72 2c 20 | 50 69 6e 67 2c 20 4d 61 |Server, |Ping, Ma|
|000001c0| 70 4e 61 6d 65 2c 20 50 | 6c 61 79 65 72 73 2c 20 |pName, P|layers, |
|000001d0| 53 6f 72 74 42 79 43 6f | 6c 75 6d 6e 3b 0d 0a 76 |SortByCo|lumn;..v|
|000001e0| 61 72 20 62 6f 6f 6c 20 | 62 53 6f 72 74 44 65 73 |ar bool |bSortDes|
|000001f0| 63 65 6e 64 69 6e 67 3b | 0d 0a 76 61 72 20 6c 6f |cending;|..var lo|
|00000200| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 20 53 |calized |string S|
|00000210| 65 72 76 65 72 4e 61 6d | 65 2c 20 50 69 6e 67 4e |erverNam|e, PingN|
|00000220| 61 6d 65 2c 20 4d 61 70 | 4e 61 6d 65 4e 61 6d 65 |ame, Map|NameName|
|00000230| 2c 20 50 6c 61 79 65 72 | 73 4e 61 6d 65 3b 0d 0a |, Player|sName;..|
|00000240| 0d 0a 76 61 72 20 55 42 | 72 6f 77 73 65 72 53 65 |..var UB|rowserSe|
|00000250| 72 76 65 72 4c 69 73 74 | 20 53 65 6c 65 63 74 65 |rverList| Selecte|
|00000260| 64 53 65 72 76 65 72 3b | 0d 0a 76 61 72 20 69 6e |dServer;|..var in|
|00000270| 74 20 43 6f 75 6e 74 3b | 0d 0a 0d 0a 76 61 72 20 |t Count;|....var |
|00000280| 66 6c 6f 61 74 20 54 69 | 6d 65 50 61 73 73 65 64 |float Ti|mePassed|
|00000290| 3b 0d 0a 76 61 72 20 69 | 6e 74 20 41 75 74 6f 50 |;..var i|nt AutoP|
|000002a0| 69 6e 67 49 6e 74 65 72 | 76 61 6c 3b 0d 0a 76 61 |ingInter|val;..va|
|000002b0| 72 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |r UBrows|erServer|
|000002c0| 4c 69 73 74 20 4f 6c 64 | 50 69 6e 67 53 65 72 76 |List Old|PingServ|
|000002d0| 65 72 3b 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |er;....f|unction |
|000002e0| 43 72 65 61 74 65 64 28 | 29 0d 0a 7b 0d 0a 09 53 |Created(|)..{...S|
|000002f0| 75 70 65 72 2e 43 72 65 | 61 74 65 64 28 29 3b 0d |uper.Cre|ated();.|
|00000300| 0a 0d 0a 09 52 6f 77 48 | 65 69 67 68 74 20 3d 20 |....RowH|eight = |
|00000310| 31 32 3b 0d 0a 0d 0a 09 | 43 72 65 61 74 65 43 6f |12;.....|CreateCo|
|00000320| 6c 75 6d 6e 73 28 29 3b | 0d 0a 0d 0a 09 4d 65 6e |lumns();|.....Men|
|00000330| 75 20 3d 20 55 42 72 6f | 77 73 65 72 52 69 67 68 |u = UBro|wserRigh|
|00000340| 74 43 6c 69 63 6b 4d 65 | 6e 75 28 52 6f 6f 74 2e |tClickMe|nu(Root.|
|00000350| 43 72 65 61 74 65 57 69 | 6e 64 6f 77 28 55 42 72 |CreateWi|ndow(UBr|
|00000360| 6f 77 73 65 72 53 65 72 | 76 65 72 4c 69 73 74 57 |owserSer|verListW|
|00000370| 69 6e 64 6f 77 28 47 65 | 74 50 61 72 65 6e 74 28 |indow(Ge|tParent(|
|00000380| 63 6c 61 73 73 27 55 42 | 72 6f 77 73 65 72 53 65 |class'UB|rowserSe|
|00000390| 72 76 65 72 4c 69 73 74 | 57 69 6e 64 6f 77 27 29 |rverList|Window')|
|000003a0| 29 2e 52 69 67 68 74 43 | 6c 69 63 6b 4d 65 6e 75 |).RightC|lickMenu|
|000003b0| 43 6c 61 73 73 2c 20 30 | 2c 20 30 2c 20 31 30 30 |Class, 0|, 0, 100|
|000003c0| 2c 20 31 30 30 2c 20 53 | 65 6c 66 29 29 3b 0d 0a |, 100, S|elf));..|
|000003d0| 09 4d 65 6e 75 2e 48 69 | 64 65 57 69 6e 64 6f 77 |.Menu.Hi|deWindow|
|000003e0| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |();..}..|..functi|
|000003f0| 6f 6e 20 43 6c 6f 73 65 | 28 6f 70 74 69 6f 6e 61 |on Close|(optiona|
|00000400| 6c 20 62 6f 6f 6c 20 62 | 42 79 50 61 72 65 6e 74 |l bool b|ByParent|
|00000410| 29 0d 0a 7b 0d 0a 09 53 | 75 70 65 72 2e 43 6c 6f |)..{...S|uper.Clo|
|00000420| 73 65 28 62 42 79 50 61 | 72 65 6e 74 29 3b 0d 0a |se(bByPa|rent);..|
|00000430| 09 69 66 28 4d 65 6e 75 | 20 21 3d 20 4e 6f 6e 65 |.if(Menu| != None|
|00000440| 20 26 26 20 4d 65 6e 75 | 2e 62 57 69 6e 64 6f 77 | && Menu|.bWindow|
|00000450| 56 69 73 69 62 6c 65 29 | 0d 0a 09 09 4d 65 6e 75 |Visible)|....Menu|
|00000460| 2e 43 6c 6f 73 65 55 70 | 28 29 3b 0d 0a 7d 0d 0a |.CloseUp|();..}..|
|00000470| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 43 72 65 61 74 |..functi|on Creat|
|00000480| 65 43 6f 6c 75 6d 6e 73 | 28 29 0d 0a 7b 0d 0a 09 |eColumns|()..{...|
|00000490| 53 65 72 76 65 72 09 3d | 20 41 64 64 43 6f 6c 75 |Server.=| AddColu|
|000004a0| 6d 6e 28 53 65 72 76 65 | 72 4e 61 6d 65 2c 20 33 |mn(Serve|rName, 3|
|000004b0| 30 30 29 3b 0d 0a 09 50 | 69 6e 67 09 3d 20 41 64 |00);...P|ing.= Ad|
|000004c0| 64 43 6f 6c 75 6d 6e 28 | 50 69 6e 67 4e 61 6d 65 |dColumn(|PingName|
|000004d0| 2c 20 33 30 29 3b 0d 0a | 09 4d 61 70 4e 61 6d 65 |, 30);..|.MapName|
|000004e0| 09 3d 20 41 64 64 43 6f | 6c 75 6d 6e 28 4d 61 70 |.= AddCo|lumn(Map|
|000004f0| 4e 61 6d 65 4e 61 6d 65 | 2c 20 31 30 30 29 3b 0d |NameName|, 100);.|
|00000500| 0a 09 50 6c 61 79 65 72 | 73 09 3d 20 41 64 64 43 |..Player|s.= AddC|
|00000510| 6f 6c 75 6d 6e 28 50 6c | 61 79 65 72 73 4e 61 6d |olumn(Pl|ayersNam|
|00000520| 65 2c 20 35 30 29 3b 0d | 0a 0d 0a 09 53 6f 72 74 |e, 50);.|....Sort|
|00000530| 42 79 43 6f 6c 75 6d 6e | 20 3d 20 50 69 6e 67 3b |ByColumn| = Ping;|
|00000540| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000550| 44 72 61 77 43 65 6c 6c | 28 43 61 6e 76 61 73 20 |DrawCell|(Canvas |
|00000560| 43 2c 20 66 6c 6f 61 74 | 20 58 2c 20 66 6c 6f 61 |C, float| X, floa|
|00000570| 74 20 59 2c 20 55 57 69 | 6e 64 6f 77 47 72 69 64 |t Y, UWi|ndowGrid|
|00000580| 43 6f 6c 75 6d 6e 20 43 | 6f 6c 75 6d 6e 2c 20 55 |Column C|olumn, U|
|00000590| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|000005a0| 74 20 4c 69 73 74 29 0d | 0a 7b 0d 0a 09 73 77 69 |t List).|.{...swi|
|000005b0| 74 63 68 28 43 6f 6c 75 | 6d 6e 29 0d 0a 09 7b 0d |tch(Colu|mn)...{.|
|000005c0| 0a 09 63 61 73 65 20 53 | 65 72 76 65 72 3a 0d 0a |..case S|erver:..|
|000005d0| 09 09 43 6f 6c 75 6d 6e | 2e 43 6c 69 70 54 65 78 |..Column|.ClipTex|
|000005e0| 74 28 20 43 2c 20 58 2c | 20 59 2c 20 4c 69 73 74 |t( C, X,| Y, List|
|000005f0| 2e 48 6f 73 74 4e 61 6d | 65 20 29 3b 0d 0a 09 09 |.HostNam|e );....|
|00000600| 62 72 65 61 6b 3b 0d 0a | 09 63 61 73 65 20 50 69 |break;..|.case Pi|
|00000610| 6e 67 3a 0d 0a 09 09 43 | 6f 6c 75 6d 6e 2e 43 6c |ng:....C|olumn.Cl|
|00000620| 69 70 54 65 78 74 28 20 | 43 2c 20 58 2c 20 59 2c |ipText( |C, X, Y,|
|00000630| 20 49 6e 74 28 4c 69 73 | 74 2e 50 69 6e 67 29 20 | Int(Lis|t.Ping) |
|00000640| 29 3b 0d 0a 09 09 62 72 | 65 61 6b 3b 0d 0a 09 63 |);....br|eak;...c|
|00000650| 61 73 65 20 4d 61 70 4e | 61 6d 65 3a 0d 0a 09 09 |ase MapN|ame:....|
|00000660| 43 6f 6c 75 6d 6e 2e 43 | 6c 69 70 54 65 78 74 28 |Column.C|lipText(|
|00000670| 20 43 2c 20 58 2c 20 59 | 2c 20 4c 69 73 74 2e 4d | C, X, Y|, List.M|
|00000680| 61 70 44 69 73 70 6c 61 | 79 4e 61 6d 65 20 29 3b |apDispla|yName );|
|00000690| 0d 0a 09 09 62 72 65 61 | 6b 3b 0d 0a 09 63 61 73 |....brea|k;...cas|
|000006a0| 65 20 50 6c 61 79 65 72 | 73 3a 0d 0a 09 09 43 6f |e Player|s:....Co|
|000006b0| 6c 75 6d 6e 2e 43 6c 69 | 70 54 65 78 74 28 20 43 |lumn.Cli|pText( C|
|000006c0| 2c 20 58 2c 20 59 2c 20 | 4c 69 73 74 2e 4e 75 6d |, X, Y, |List.Num|
|000006d0| 50 6c 61 79 65 72 73 24 | 22 2f 22 24 4c 69 73 74 |Players$|"/"$List|
|000006e0| 2e 4d 61 78 50 6c 61 79 | 65 72 73 20 29 3b 0d 0a |.MaxPlay|ers );..|
|000006f0| 09 09 62 72 65 61 6b 3b | 0d 0a 09 7d 0d 0a 7d 0d |..break;|...}..}.|
|00000700| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 50 61 69 6e |...funct|ion Pain|
|00000710| 74 43 6f 6c 75 6d 6e 28 | 43 61 6e 76 61 73 20 43 |tColumn(|Canvas C|
|00000720| 2c 20 55 57 69 6e 64 6f | 77 47 72 69 64 43 6f 6c |, UWindo|wGridCol|
|00000730| 75 6d 6e 20 43 6f 6c 75 | 6d 6e 2c 20 66 6c 6f 61 |umn Colu|mn, floa|
|00000740| 74 20 4d 6f 75 73 65 58 | 2c 20 66 6c 6f 61 74 20 |t MouseX|, float |
|00000750| 4d 6f 75 73 65 59 29 20 | 0d 0a 7b 0d 0a 09 6c 6f |MouseY) |..{...lo|
|00000760| 63 61 6c 20 55 42 72 6f | 77 73 65 72 53 65 72 76 |cal UBro|wserServ|
|00000770| 65 72 4c 69 73 74 20 4c | 69 73 74 3b 0d 0a 09 6c |erList L|ist;...l|
|00000780| 6f 63 61 6c 20 66 6c 6f | 61 74 20 59 3b 0d 0a 09 |ocal flo|at Y;...|
|00000790| 6c 6f 63 61 6c 20 69 6e | 74 20 56 69 73 69 62 6c |local in|t Visibl|
|000007a0| 65 3b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 53 |e;...loc|al int S|
|000007b0| 6b 69 70 70 65 64 3b 0d | 0a 09 6c 6f 63 61 6c 20 |kipped;.|..local |
|000007c0| 69 6e 74 20 54 6f 70 4d | 61 72 67 69 6e 3b 0d 0a |int TopM|argin;..|
|000007d0| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 42 6f 74 74 6f |.local i|nt Botto|
|000007e0| 6d 4d 61 72 67 69 6e 3b | 0d 0a 0d 0a 09 43 2e 46 |mMargin;|.....C.F|
|000007f0| 6f 6e 74 20 3d 20 52 6f | 6f 74 2e 46 6f 6e 74 73 |ont = Ro|ot.Fonts|
|00000800| 5b 46 5f 4e 6f 72 6d 61 | 6c 5d 3b 0d 0a 0d 0a 0d |[F_Norma|l];.....|
|00000810| 0a 09 4c 69 73 74 20 3d | 20 55 42 72 6f 77 73 65 |..List =| UBrowse|
|00000820| 72 53 65 72 76 65 72 4c | 69 73 74 57 69 6e 64 6f |rServerL|istWindo|
|00000830| 77 28 47 65 74 50 61 72 | 65 6e 74 28 63 6c 61 73 |w(GetPar|ent(clas|
|00000840| 73 27 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |s'UBrows|erServer|
|00000850| 4c 69 73 74 57 69 6e 64 | 6f 77 27 29 29 2e 50 69 |ListWind|ow')).Pi|
|00000860| 6e 67 65 64 4c 69 73 74 | 3b 0d 0a 0d 0a 09 69 66 |ngedList|;.....if|
|00000870| 28 4c 69 73 74 20 3d 3d | 20 4e 6f 6e 65 29 0d 0a |(List ==| None)..|
|00000880| 09 09 43 6f 75 6e 74 20 | 3d 20 30 3b 0d 0a 09 65 |..Count |= 0;...e|
|00000890| 6c 73 65 0d 0a 09 09 43 | 6f 75 6e 74 20 3d 20 4c |lse....C|ount = L|
|000008a0| 69 73 74 2e 46 61 73 74 | 43 6f 75 6e 74 53 68 6f |ist.Fast|CountSho|
|000008b0| 77 6e 28 29 3b 0d 0a 0d | 0a 09 69 66 28 62 53 68 |wn();...|..if(bSh|
|000008c0| 6f 77 48 6f 72 69 7a 53 | 42 29 0d 0a 09 09 42 6f |owHorizS|B)....Bo|
|000008d0| 74 74 6f 6d 4d 61 72 67 | 69 6e 20 3d 20 4c 6f 6f |ttomMarg|in = Loo|
|000008e0| 6b 41 6e 64 46 65 65 6c | 2e 53 69 7a 65 5f 53 63 |kAndFeel|.Size_Sc|
|000008f0| 72 6f 6c 6c 62 61 72 57 | 69 64 74 68 3b 0d 0a 09 |rollbarW|idth;...|
|00000900| 65 6c 73 65 0d 0a 09 09 | 42 6f 74 74 6f 6d 4d 61 |else....|BottomMa|
|00000910| 72 67 69 6e 20 3d 20 30 | 3b 0d 0a 0d 0a 09 54 6f |rgin = 0|;.....To|
|00000920| 70 4d 61 72 67 69 6e 20 | 3d 20 4c 6f 6f 6b 41 6e |pMargin |= LookAn|
|00000930| 64 46 65 65 6c 2e 43 6f | 6c 75 6d 6e 48 65 61 64 |dFeel.Co|lumnHead|
|00000940| 69 6e 67 48 65 69 67 68 | 74 3b 0d 0a 0d 0a 09 56 |ingHeigh|t;.....V|
|00000950| 69 73 69 62 6c 65 20 3d | 20 69 6e 74 28 28 57 69 |isible =| int((Wi|
|00000960| 6e 48 65 69 67 68 74 20 | 2d 20 28 54 6f 70 4d 61 |nHeight |- (TopMa|
|00000970| 72 67 69 6e 20 2b 20 42 | 6f 74 74 6f 6d 4d 61 72 |rgin + B|ottomMar|
|00000980| 67 69 6e 29 29 2f 52 6f | 77 48 65 69 67 68 74 29 |gin))/Ro|wHeight)|
|00000990| 3b 0d 0a 09 0d 0a 09 56 | 65 72 74 53 42 2e 53 65 |;......V|ertSB.Se|
|000009a0| 74 52 61 6e 67 65 28 30 | 2c 20 43 6f 75 6e 74 2b |tRange(0|, Count+|
|000009b0| 31 2c 20 56 69 73 69 62 | 6c 65 29 3b 0d 0a 09 54 |1, Visib|le);...T|
|000009c0| 6f 70 52 6f 77 20 3d 20 | 56 65 72 74 53 42 2e 50 |opRow = |VertSB.P|
|000009d0| 6f 73 3b 0d 0a 0d 0a 09 | 53 6b 69 70 70 65 64 20 |os;.....|Skipped |
|000009e0| 3d 20 30 3b 0d 0a 0d 0a | 09 4c 69 73 74 20 3d 20 |= 0;....|.List = |
|000009f0| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00000a00| 73 74 28 4c 69 73 74 2e | 4e 65 78 74 53 68 6f 77 |st(List.|NextShow|
|00000a10| 6e 28 29 29 3b 0d 0a 0d | 0a 09 69 66 28 4c 69 73 |n());...|..if(Lis|
|00000a20| 74 20 21 3d 20 4e 6f 6e | 65 29 20 0d 0a 09 7b 0d |t != Non|e) ...{.|
|00000a30| 0a 09 09 59 20 3d 20 31 | 3b 0d 0a 0d 0a 09 09 77 |...Y = 1|;......w|
|00000a40| 68 69 6c 65 28 28 59 20 | 3c 20 52 6f 77 48 65 69 |hile((Y |< RowHei|
|00000a50| 67 68 74 20 2b 20 57 69 | 6e 48 65 69 67 68 74 20 |ght + Wi|nHeight |
|00000a60| 2d 20 52 6f 77 48 65 69 | 67 68 74 20 2d 20 28 54 |- RowHei|ght - (T|
|00000a70| 6f 70 4d 61 72 67 69 6e | 20 2b 20 42 6f 74 74 6f |opMargin| + Botto|
|00000a80| 6d 4d 61 72 67 69 6e 29 | 29 20 26 26 20 28 4c 69 |mMargin)|) && (Li|
|00000a90| 73 74 20 21 3d 20 4e 6f | 6e 65 29 29 0d 0a 09 09 |st != No|ne))....|
|00000aa0| 7b 0d 0a 09 09 09 2f 2f | 20 46 49 58 4d 45 3a 20 |{.....//| FIXME: |
|00000ab0| 6d 61 6b 65 20 6d 6f 72 | 65 20 65 66 66 69 63 69 |make mor|e effici|
|00000ac0| 65 6e 74 20 2d 20 63 61 | 63 68 65 20 74 6f 70 20 |ent - ca|che top |
|00000ad0| 73 65 72 76 65 72 20 69 | 6e 20 6c 69 73 74 20 69 |server i|n list i|
|00000ae0| 66 20 54 6f 70 52 6f 77 | 20 64 6f 65 73 6e 27 74 |f TopRow| doesn't|
|00000af0| 20 63 68 61 6e 67 65 0d | 0a 09 09 09 69 66 28 53 | change.|....if(S|
|00000b00| 6b 69 70 70 65 64 20 3e | 3d 20 56 65 72 74 53 42 |kipped >|= VertSB|
|00000b10| 2e 50 6f 73 29 0d 0a 09 | 09 09 7b 0d 0a 09 09 09 |.Pos)...|..{.....|
|00000b20| 09 2f 2f 20 44 72 61 77 | 20 68 69 67 68 6c 69 67 |.// Draw| highlig|
|00000b30| 68 74 0d 0a 09 09 09 09 | 69 66 28 4c 69 73 74 20 |ht......|if(List |
|00000b40| 3d 3d 20 53 65 6c 65 63 | 74 65 64 53 65 72 76 65 |== Selec|tedServe|
|00000b50| 72 29 0d 0a 09 09 09 09 | 09 43 6f 6c 75 6d 6e 2e |r)......|.Column.|
|00000b60| 44 72 61 77 53 74 72 65 | 74 63 68 65 64 54 65 78 |DrawStre|tchedTex|
|00000b70| 74 75 72 65 28 20 43 2c | 20 30 2c 20 59 2d 31 20 |ture( C,| 0, Y-1 |
|00000b80| 2b 20 54 6f 70 4d 61 72 | 67 69 6e 2c 20 43 6f 6c |+ TopMar|gin, Col|
|00000b90| 75 6d 6e 2e 57 69 6e 57 | 69 64 74 68 2c 20 52 6f |umn.WinW|idth, Ro|
|00000ba0| 77 48 65 69 67 68 74 20 | 2b 20 31 2c 20 54 65 78 |wHeight |+ 1, Tex|
|00000bb0| 74 75 72 65 27 48 69 67 | 68 6c 69 67 68 74 27 29 |ture'Hig|hlight')|
|00000bc0| 3b 0d 0a 0d 0a 09 09 09 | 09 44 72 61 77 43 65 6c |;.......|.DrawCel|
|00000bd0| 6c 28 43 2c 20 32 2c 20 | 59 20 2b 20 54 6f 70 4d |l(C, 2, |Y + TopM|
|00000be0| 61 72 67 69 6e 2c 20 43 | 6f 6c 75 6d 6e 2c 20 4c |argin, C|olumn, L|
|00000bf0| 69 73 74 29 3b 0d 0a 09 | 09 09 09 59 20 3d 20 59 |ist);...|...Y = Y|
|00000c00| 20 2b 20 52 6f 77 48 65 | 69 67 68 74 3b 09 09 09 | + RowHe|ight;...|
|00000c10| 0d 0a 09 09 09 7d 20 0d | 0a 09 09 09 53 6b 69 70 |.....} .|....Skip|
|00000c20| 70 65 64 20 2b 2b 3b 0d | 0a 0d 0a 09 09 09 4c 69 |ped ++;.|......Li|
|00000c30| 73 74 20 3d 20 55 42 72 | 6f 77 73 65 72 53 65 72 |st = UBr|owserSer|
|00000c40| 76 65 72 4c 69 73 74 28 | 4c 69 73 74 2e 4e 65 78 |verList(|List.Nex|
|00000c50| 74 53 68 6f 77 6e 28 29 | 29 3b 0d 0a 09 09 7d 0d |tShown()|);....}.|
|00000c60| 0a 09 7d 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |..}..}..|..functi|
|00000c70| 6f 6e 20 53 6f 72 74 43 | 6f 6c 75 6d 6e 28 55 57 |on SortC|olumn(UW|
|00000c80| 69 6e 64 6f 77 47 72 69 | 64 43 6f 6c 75 6d 6e 20 |indowGri|dColumn |
|00000c90| 43 6f 6c 75 6d 6e 29 0d | 0a 7b 0d 0a 09 69 66 28 |Column).|.{...if(|
|00000ca0| 53 6f 72 74 42 79 43 6f | 6c 75 6d 6e 20 3d 3d 20 |SortByCo|lumn == |
|00000cb0| 43 6f 6c 75 6d 6e 29 0d | 0a 09 09 62 53 6f 72 74 |Column).|...bSort|
|00000cc0| 44 65 73 63 65 6e 64 69 | 6e 67 20 3d 20 21 62 53 |Descendi|ng = !bS|
|00000cd0| 6f 72 74 44 65 73 63 65 | 6e 64 69 6e 67 3b 0d 0a |ortDesce|nding;..|
|00000ce0| 09 65 6c 73 65 0d 0a 09 | 09 62 53 6f 72 74 44 65 |.else...|.bSortDe|
|00000cf0| 73 63 65 6e 64 69 6e 67 | 20 3d 20 46 61 6c 73 65 |scending| = False|
|00000d00| 3b 0d 0a 0d 0a 09 53 6f | 72 74 42 79 43 6f 6c 75 |;.....So|rtByColu|
|00000d10| 6d 6e 20 3d 20 43 6f 6c | 75 6d 6e 3b 0d 0a 0d 0a |mn = Col|umn;....|
|00000d20| 09 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c |.UBrowse|rServerL|
|00000d30| 69 73 74 57 69 6e 64 6f | 77 28 47 65 74 50 61 72 |istWindo|w(GetPar|
|00000d40| 65 6e 74 28 63 6c 61 73 | 73 27 55 42 72 6f 77 73 |ent(clas|s'UBrows|
|00000d50| 65 72 53 65 72 76 65 72 | 4c 69 73 74 57 69 6e 64 |erServer|ListWind|
|00000d60| 6f 77 27 29 29 2e 50 69 | 6e 67 65 64 4c 69 73 74 |ow')).Pi|ngedList|
|00000d70| 2e 53 6f 72 74 28 29 3b | 09 0d 0a 7d 0d 0a 0d 0a |.Sort();|...}....|
|00000d80| 66 75 6e 63 74 69 6f 6e | 20 54 69 63 6b 28 66 6c |function| Tick(fl|
|00000d90| 6f 61 74 20 44 65 6c 74 | 61 54 69 6d 65 29 0d 0a |oat Delt|aTime)..|
|00000da0| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 55 42 72 6f 77 73 |{...loca|l UBrows|
|00000db0| 65 72 53 65 72 76 65 72 | 4c 69 73 74 57 69 6e 64 |erServer|ListWind|
|00000dc0| 6f 77 20 57 3b 0d 0a 0d | 0a 09 57 20 3d 20 55 42 |ow W;...|..W = UB|
|00000dd0| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|00000de0| 57 69 6e 64 6f 77 28 47 | 65 74 50 61 72 65 6e 74 |Window(G|etParent|
|00000df0| 28 63 6c 61 73 73 27 55 | 42 72 6f 77 73 65 72 53 |(class'U|BrowserS|
|00000e00| 65 72 76 65 72 4c 69 73 | 74 57 69 6e 64 6f 77 27 |erverLis|tWindow'|
|00000e10| 29 29 3b 0d 0a 0d 0a 09 | 69 66 28 57 2e 50 69 6e |));.....|if(W.Pin|
|00000e20| 67 53 74 61 74 65 20 3d | 3d 20 50 53 5f 44 6f 6e |gState =|= PS_Don|
|00000e30| 65 20 26 26 20 53 65 6c | 65 63 74 65 64 53 65 72 |e && Sel|ectedSer|
|00000e40| 76 65 72 20 3d 3d 20 4e | 6f 6e 65 29 0d 0a 09 7b |ver == N|one)...{|
|00000e50| 0d 0a 09 09 53 65 6c 65 | 63 74 65 64 53 65 72 76 |....Sele|ctedServ|
|00000e60| 65 72 20 3d 20 55 42 72 | 6f 77 73 65 72 53 65 72 |er = UBr|owserSer|
|00000e70| 76 65 72 4c 69 73 74 28 | 57 2e 50 69 6e 67 65 64 |verList(|W.Pinged|
|00000e80| 4c 69 73 74 2e 4e 65 78 | 74 53 68 6f 77 6e 28 29 |List.Nex|tShown()|
|00000e90| 29 3b 0d 0a 09 09 69 66 | 28 53 65 6c 65 63 74 65 |);....if|(Selecte|
|00000ea0| 64 53 65 72 76 65 72 20 | 3d 3d 20 4e 6f 6e 65 20 |dServer |== None |
|00000eb0| 7c 7c 20 53 65 6c 65 63 | 74 65 64 53 65 72 76 65 ||| Selec|tedServe|
|00000ec0| 72 2e 62 50 69 6e 67 69 | 6e 67 29 0d 0a 09 09 09 |r.bPingi|ng).....|
|00000ed0| 53 65 6c 65 63 74 65 64 | 53 65 72 76 65 72 20 3d |Selected|Server =|
|00000ee0| 20 4e 6f 6e 65 3b 0d 0a | 09 09 65 6c 73 65 0d 0a | None;..|..else..|
|00000ef0| 09 09 09 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |...UBrow|serServe|
|00000f00| 72 4c 69 73 74 57 69 6e | 64 6f 77 28 47 65 74 50 |rListWin|dow(GetP|
|00000f10| 61 72 65 6e 74 28 63 6c | 61 73 73 27 55 42 72 6f |arent(cl|ass'UBro|
|00000f20| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 57 69 |wserServ|erListWi|
|00000f30| 6e 64 6f 77 27 29 29 2e | 41 75 74 6f 49 6e 66 6f |ndow')).|AutoInfo|
|00000f40| 28 53 65 6c 65 63 74 65 | 64 53 65 72 76 65 72 29 |(Selecte|dServer)|
|00000f50| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 69 66 28 57 2e 50 |;...}...|..if(W.P|
|00000f60| 69 6e 67 53 74 61 74 65 | 20 3d 3d 20 50 53 5f 44 |ingState| == PS_D|
|00000f70| 6f 6e 65 29 0d 0a 09 7b | 0d 0a 09 09 69 66 28 54 |one)...{|....if(T|
|00000f80| 69 6d 65 50 61 73 73 65 | 64 20 3e 3d 20 41 75 74 |imePasse|d >= Aut|
|00000f90| 6f 50 69 6e 67 49 6e 74 | 65 72 76 61 6c 29 0d 0a |oPingInt|erval)..|
|00000fa0| 09 09 7b 0d 0a 09 09 09 | 54 69 6d 65 50 61 73 73 |..{.....|TimePass|
|00000fb0| 65 64 20 3d 20 30 3b 0d | 0a 0d 0a 09 09 09 69 66 |ed = 0;.|......if|
|00000fc0| 28 53 65 6c 65 63 74 65 | 64 53 65 72 76 65 72 20 |(Selecte|dServer |
|00000fd0| 21 3d 20 4f 6c 64 50 69 | 6e 67 53 65 72 76 65 72 |!= OldPi|ngServer|
|00000fe0| 29 0d 0a 09 09 09 7b 0d | 0a 09 09 09 09 69 66 28 |).....{.|.....if(|
|00000ff0| 4f 6c 64 50 69 6e 67 53 | 65 72 76 65 72 20 21 3d |OldPingS|erver !=|
|00001000| 20 4e 6f 6e 65 29 0d 0a | 09 09 09 09 09 4f 6c 64 | None)..|.....Old|
|00001010| 50 69 6e 67 53 65 72 76 | 65 72 2e 43 61 6e 63 65 |PingServ|er.Cance|
|00001020| 6c 50 69 6e 67 28 29 3b | 0d 0a 09 09 09 09 4f 6c |lPing();|......Ol|
|00001030| 64 50 69 6e 67 53 65 72 | 76 65 72 20 3d 20 53 65 |dPingSer|ver = Se|
|00001040| 6c 65 63 74 65 64 53 65 | 72 76 65 72 3b 0d 0a 09 |lectedSe|rver;...|
|00001050| 09 09 7d 0d 0a 0d 0a 09 | 09 09 69 66 28 53 65 6c |..}.....|..if(Sel|
|00001060| 65 63 74 65 64 53 65 72 | 76 65 72 20 21 3d 20 4e |ectedSer|ver != N|
|00001070| 6f 6e 65 20 26 26 20 21 | 53 65 6c 65 63 74 65 64 |one && !|Selected|
|00001080| 53 65 72 76 65 72 2e 62 | 50 69 6e 67 69 6e 67 29 |Server.b|Pinging)|
|00001090| 0d 0a 09 09 09 09 53 65 | 6c 65 63 74 65 64 53 65 |......Se|lectedSe|
|000010a0| 72 76 65 72 2e 50 69 6e | 67 53 65 72 76 65 72 28 |rver.Pin|gServer(|
|000010b0| 46 61 6c 73 65 2c 20 54 | 72 75 65 2c 20 54 72 75 |False, T|rue, Tru|
|000010c0| 65 29 3b 0d 0a 09 09 7d | 0d 0a 09 09 54 69 6d 65 |e);....}|....Time|
|000010d0| 50 61 73 73 65 64 20 3d | 20 54 69 6d 65 50 61 73 |Passed =| TimePas|
|000010e0| 73 65 64 20 2b 20 44 65 | 6c 74 61 54 69 6d 65 3b |sed + De|ltaTime;|
|000010f0| 0d 0a 09 7d 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |...}..}.|...funct|
|00001100| 69 6f 6e 20 53 65 6c 65 | 63 74 52 6f 77 28 69 6e |ion Sele|ctRow(in|
|00001110| 74 20 52 6f 77 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |t Row)..|{...loca|
|00001120| 6c 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |l UBrows|erServer|
|00001130| 4c 69 73 74 20 53 3b 0d | 0a 0d 0a 09 53 20 3d 20 |List S;.|....S = |
|00001140| 47 65 74 53 65 72 76 65 | 72 55 6e 64 65 72 52 6f |GetServe|rUnderRo|
|00001150| 77 28 52 6f 77 29 3b 0d | 0a 0d 0a 09 69 66 28 53 |w(Row);.|....if(S|
|00001160| 65 6c 65 63 74 65 64 53 | 65 72 76 65 72 20 21 3d |electedS|erver !=|
|00001170| 20 53 29 0d 0a 09 7b 0d | 0a 09 09 69 66 28 53 20 | S)...{.|...if(S |
|00001180| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 09 55 42 72 |!= None)|.....UBr|
|00001190| 6f 77 73 65 72 53 65 72 | 76 65 72 4c 69 73 74 57 |owserSer|verListW|
|000011a0| 69 6e 64 6f 77 28 47 65 | 74 50 61 72 65 6e 74 28 |indow(Ge|tParent(|
|000011b0| 63 6c 61 73 73 27 55 42 | 72 6f 77 73 65 72 53 65 |class'UB|rowserSe|
|000011c0| 72 76 65 72 4c 69 73 74 | 57 69 6e 64 6f 77 27 29 |rverList|Window')|
|000011d0| 29 2e 41 75 74 6f 49 6e | 66 6f 28 53 29 3b 0d 0a |).AutoIn|fo(S);..|
|000011e0| 09 09 54 69 6d 65 50 61 | 73 73 65 64 20 3d 20 30 |..TimePa|ssed = 0|
|000011f0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 69 66 28 53 20 21 |;...}...|..if(S !|
|00001200| 3d 20 4e 6f 6e 65 29 0d | 0a 09 09 53 65 6c 65 63 |= None).|...Selec|
|00001210| 74 65 64 53 65 72 76 65 | 72 20 3d 20 53 3b 0d 0a |tedServe|r = S;..|
|00001220| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 52 69 |}....fun|ction Ri|
|00001230| 67 68 74 43 6c 69 63 6b | 52 6f 77 28 69 6e 74 20 |ghtClick|Row(int |
|00001240| 52 6f 77 2c 20 66 6c 6f | 61 74 20 58 2c 20 66 6c |Row, flo|at X, fl|
|00001250| 6f 61 74 20 59 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |oat Y)..|{...loca|
|00001260| 6c 20 66 6c 6f 61 74 20 | 4d 65 6e 75 58 2c 20 4d |l float |MenuX, M|
|00001270| 65 6e 75 59 3b 0d 0a 0d | 0a 09 57 69 6e 64 6f 77 |enuY;...|..Window|
|00001280| 54 6f 47 6c 6f 62 61 6c | 28 58 2c 20 59 2c 20 4d |ToGlobal|(X, Y, M|
|00001290| 65 6e 75 58 2c 20 4d 65 | 6e 75 59 29 3b 0d 0a 09 |enuX, Me|nuY);...|
|000012a0| 4d 65 6e 75 2e 57 69 6e | 4c 65 66 74 20 3d 20 4d |Menu.Win|Left = M|
|000012b0| 65 6e 75 58 3b 0d 0a 09 | 4d 65 6e 75 2e 57 69 6e |enuX;...|Menu.Win|
|000012c0| 54 6f 70 20 3d 20 4d 65 | 6e 75 59 3b 0d 0a 09 4d |Top = Me|nuY;...M|
|000012d0| 65 6e 75 2e 4c 69 73 74 | 20 3d 20 47 65 74 53 65 |enu.List| = GetSe|
|000012e0| 72 76 65 72 55 6e 64 65 | 72 52 6f 77 28 52 6f 77 |rverUnde|rRow(Row|
|000012f0| 29 3b 0d 0a 09 4d 65 6e | 75 2e 47 72 69 64 20 3d |);...Men|u.Grid =|
|00001300| 20 53 65 6c 66 3b 0d 0a | 09 4d 65 6e 75 2e 53 68 | Self;..|.Menu.Sh|
|00001310| 6f 77 57 69 6e 64 6f 77 | 28 29 3b 0d 0a 7d 0d 0a |owWindow|();..}..|
|00001320| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 55 42 72 6f 77 |..functi|on UBrow|
|00001330| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 20 47 65 |serServe|rList Ge|
|00001340| 74 53 65 72 76 65 72 55 | 6e 64 65 72 52 6f 77 28 |tServerU|nderRow(|
|00001350| 69 6e 74 20 52 6f 77 29 | 0d 0a 7b 0d 0a 09 6c 6f |int Row)|..{...lo|
|00001360| 63 61 6c 20 69 6e 74 20 | 69 3b 0d 0a 09 6c 6f 63 |cal int |i;...loc|
|00001370| 61 6c 20 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |al UBrow|serServe|
|00001380| 72 4c 69 73 74 20 4c 69 | 73 74 3b 0d 0a 0d 0a 09 |rList Li|st;.....|
|00001390| 4c 69 73 74 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |List = U|BrowserS|
|000013a0| 65 72 76 65 72 4c 69 73 | 74 57 69 6e 64 6f 77 28 |erverLis|tWindow(|
|000013b0| 47 65 74 50 61 72 65 6e | 74 28 63 6c 61 73 73 27 |GetParen|t(class'|
|000013c0| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|000013d0| 73 74 57 69 6e 64 6f 77 | 27 29 29 2e 50 69 6e 67 |stWindow|')).Ping|
|000013e0| 65 64 4c 69 73 74 3b 0d | 0a 09 69 66 28 4c 69 73 |edList;.|..if(Lis|
|000013f0| 74 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 09 7b 0d 0a |t != Non|e)...{..|
|00001400| 09 09 69 20 3d 20 30 3b | 0d 0a 09 09 4c 69 73 74 |..i = 0;|....List|
|00001410| 20 3d 20 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 | = UBrow|serServe|
|00001420| 72 4c 69 73 74 28 4c 69 | 73 74 2e 4e 65 78 74 53 |rList(Li|st.NextS|
|00001430| 68 6f 77 6e 28 29 29 3b | 0d 0a 09 09 77 68 69 6c |hown());|....whil|
|00001440| 65 28 4c 69 73 74 20 21 | 3d 20 4e 6f 6e 65 29 0d |e(List !|= None).|
|00001450| 0a 09 09 7b 0d 0a 09 09 | 09 69 66 28 69 20 3d 3d |...{....|.if(i ==|
|00001460| 20 52 6f 77 29 0d 0a 09 | 09 09 09 72 65 74 75 72 | Row)...|...retur|
|00001470| 6e 20 4c 69 73 74 3b 0d | 0a 0d 0a 09 09 09 4c 69 |n List;.|......Li|
|00001480| 73 74 20 3d 20 55 42 72 | 6f 77 73 65 72 53 65 72 |st = UBr|owserSer|
|00001490| 76 65 72 4c 69 73 74 28 | 4c 69 73 74 2e 4e 65 78 |verList(|List.Nex|
|000014a0| 74 53 68 6f 77 6e 28 29 | 29 3b 0d 0a 09 09 09 69 |tShown()|);.....i|
|000014b0| 2b 2b 3b 0d 0a 09 09 7d | 0d 0a 09 7d 0d 0a 09 72 |++;....}|...}...r|
|000014c0| 65 74 75 72 6e 20 4e 6f | 6e 65 3b 0d 0a 7d 0d 0a |eturn No|ne;..}..|
|000014d0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 69 6e 74 20 47 |..functi|on int G|
|000014e0| 65 74 53 65 6c 65 63 74 | 65 64 52 6f 77 28 29 0d |etSelect|edRow().|
|000014f0| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 69 |.{...loc|al int i|
|00001500| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 55 42 72 6f 77 73 |;...loca|l UBrows|
|00001510| 65 72 53 65 72 76 65 72 | 4c 69 73 74 20 4c 69 73 |erServer|List Lis|
|00001520| 74 3b 0d 0a 0d 0a 09 4c | 69 73 74 20 3d 20 55 42 |t;.....L|ist = UB|
|00001530| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|00001540| 57 69 6e 64 6f 77 28 47 | 65 74 50 61 72 65 6e 74 |Window(G|etParent|
|00001550| 28 63 6c 61 73 73 27 55 | 42 72 6f 77 73 65 72 53 |(class'U|BrowserS|
|00001560| 65 72 76 65 72 4c 69 73 | 74 57 69 6e 64 6f 77 27 |erverLis|tWindow'|
|00001570| 29 29 2e 50 69 6e 67 65 | 64 4c 69 73 74 3b 0d 0a |)).Pinge|dList;..|
|00001580| 09 69 66 28 4c 69 73 74 | 20 21 3d 20 4e 6f 6e 65 |.if(List| != None|
|00001590| 29 0d 0a 09 7b 0d 0a 09 | 09 69 20 3d 20 30 3b 0d |)...{...|.i = 0;.|
|000015a0| 0a 09 09 4c 69 73 74 20 | 3d 20 55 42 72 6f 77 73 |...List |= UBrows|
|000015b0| 65 72 53 65 72 76 65 72 | 4c 69 73 74 28 4c 69 73 |erServer|List(Lis|
|000015c0| 74 2e 4e 65 78 74 53 68 | 6f 77 6e 28 29 29 3b 0d |t.NextSh|own());.|
|000015d0| 0a 09 09 77 68 69 6c 65 | 28 4c 69 73 74 20 21 3d |...while|(List !=|
|000015e0| 20 4e 6f 6e 65 29 0d 0a | 09 09 7b 0d 0a 09 09 09 | None)..|..{.....|
|000015f0| 69 66 28 4c 69 73 74 20 | 3d 3d 20 53 65 6c 65 63 |if(List |== Selec|
|00001600| 74 65 64 53 65 72 76 65 | 72 29 0d 0a 09 09 09 09 |tedServe|r)......|
|00001610| 72 65 74 75 72 6e 20 69 | 3b 0d 0a 0d 0a 09 09 09 |return i|;.......|
|00001620| 4c 69 73 74 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |List = U|BrowserS|
|00001630| 65 72 76 65 72 4c 69 73 | 74 28 4c 69 73 74 2e 4e |erverLis|t(List.N|
|00001640| 65 78 74 53 68 6f 77 6e | 28 29 29 3b 0d 0a 09 09 |extShown|());....|
|00001650| 09 69 2b 2b 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |.i++;...|.}...}..|
|00001660| 09 72 65 74 75 72 6e 20 | 2d 31 3b 0d 0a 7d 0d 0a |.return |-1;..}..|
|00001670| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 4a 6f 69 6e 53 |..functi|on JoinS|
|00001680| 65 72 76 65 72 28 55 42 | 72 6f 77 73 65 72 53 65 |erver(UB|rowserSe|
|00001690| 72 76 65 72 4c 69 73 74 | 20 53 65 72 76 65 72 29 |rverList| Server)|
|000016a0| 0d 0a 7b 0d 0a 09 69 66 | 28 53 65 72 76 65 72 20 |..{...if|(Server |
|000016b0| 21 3d 20 4e 6f 6e 65 20 | 26 26 20 53 65 72 76 65 |!= None |&& Serve|
|000016c0| 72 2e 47 61 6d 65 50 6f | 72 74 20 21 3d 20 30 29 |r.GamePo|rt != 0)|
|000016d0| 20 0d 0a 09 7b 0d 0a 09 | 09 47 65 74 50 6c 61 79 | ...{...|.GetPlay|
|000016e0| 65 72 4f 77 6e 65 72 28 | 29 2e 43 6c 69 65 6e 74 |erOwner(|).Client|
|000016f0| 54 72 61 76 65 6c 28 22 | 75 6e 72 65 61 6c 3a 2f |Travel("|unreal:/|
|00001700| 2f 22 24 53 65 72 76 65 | 72 2e 49 50 24 22 3a 22 |/"$Serve|r.IP$":"|
|00001710| 24 53 65 72 76 65 72 2e | 47 61 6d 65 50 6f 72 74 |$Server.|GamePort|
|00001720| 24 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c |$UBrowse|rServerL|
|00001730| 69 73 74 57 69 6e 64 6f | 77 28 47 65 74 50 61 72 |istWindo|w(GetPar|
|00001740| 65 6e 74 28 63 6c 61 73 | 73 27 55 42 72 6f 77 73 |ent(clas|s'UBrows|
|00001750| 65 72 53 65 72 76 65 72 | 4c 69 73 74 57 69 6e 64 |erServer|ListWind|
|00001760| 6f 77 27 29 29 2e 55 52 | 4c 41 70 70 65 6e 64 2c |ow')).UR|LAppend,|
|00001770| 20 54 52 41 56 45 4c 5f | 41 62 73 6f 6c 75 74 65 | TRAVEL_|Absolute|
|00001780| 2c 20 66 61 6c 73 65 29 | 3b 0d 0a 09 09 47 65 74 |, false)|;....Get|
|00001790| 50 61 72 65 6e 74 28 63 | 6c 61 73 73 27 55 57 69 |Parent(c|lass'UWi|
|000017a0| 6e 64 6f 77 46 72 61 6d | 65 64 57 69 6e 64 6f 77 |ndowFram|edWindow|
|000017b0| 27 29 2e 43 6c 6f 73 65 | 28 29 3b 0d 0a 09 09 52 |').Close|();....R|
|000017c0| 6f 6f 74 2e 43 6f 6e 73 | 6f 6c 65 2e 43 6c 6f 73 |oot.Cons|ole.Clos|
|000017d0| 65 55 57 69 6e 64 6f 77 | 28 29 3b 0d 0a 09 7d 0d |eUWindow|();...}.|
|000017e0| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 44 |.}....fu|nction D|
|000017f0| 6f 75 62 6c 65 43 6c 69 | 63 6b 52 6f 77 28 69 6e |oubleCli|ckRow(in|
|00001800| 74 20 52 6f 77 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |t Row)..|{...loca|
|00001810| 6c 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |l UBrows|erServer|
|00001820| 4c 69 73 74 20 53 65 72 | 76 65 72 3b 0d 0a 0d 0a |List Ser|ver;....|
|00001830| 09 53 65 72 76 65 72 20 | 3d 20 47 65 74 53 65 72 |.Server |= GetSer|
|00001840| 76 65 72 55 6e 64 65 72 | 52 6f 77 28 52 6f 77 29 |verUnder|Row(Row)|
|00001850| 3b 0d 0a 09 69 66 28 53 | 65 6c 65 63 74 65 64 53 |;...if(S|electedS|
|00001860| 65 72 76 65 72 20 21 3d | 20 53 65 72 76 65 72 29 |erver !=| Server)|
|00001870| 20 72 65 74 75 72 6e 3b | 20 0d 0a 09 4a 6f 69 6e | return;| ...Join|
|00001880| 53 65 72 76 65 72 28 53 | 65 72 76 65 72 29 3b 0d |Server(S|erver);.|
|00001890| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 4d |.}....fu|nction M|
|000018a0| 6f 75 73 65 4c 65 61 76 | 65 43 6f 6c 75 6d 6e 28 |ouseLeav|eColumn(|
|000018b0| 55 57 69 6e 64 6f 77 47 | 72 69 64 43 6f 6c 75 6d |UWindowG|ridColum|
|000018c0| 6e 20 43 6f 6c 75 6d 6e | 29 0d 0a 7b 0d 0a 09 54 |n Column|)..{...T|
|000018d0| 6f 6f 6c 54 69 70 28 22 | 22 29 3b 0d 0a 7d 0d 0a |oolTip("|");..}..|
|000018e0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 4b 65 79 44 6f |..functi|on KeyDo|
|000018f0| 77 6e 28 69 6e 74 20 4b | 65 79 2c 20 66 6c 6f 61 |wn(int K|ey, floa|
|00001900| 74 20 58 2c 20 66 6c 6f | 61 74 20 59 29 20 0d 0a |t X, flo|at Y) ..|
|00001910| 7b 0d 0a 09 73 77 69 74 | 63 68 28 4b 65 79 29 0d |{...swit|ch(Key).|
|00001920| 0a 09 7b 0d 0a 09 63 61 | 73 65 20 30 78 37 34 3a |..{...ca|se 0x74:|
|00001930| 20 2f 2f 20 49 4b 5f 46 | 35 3b 0d 0a 09 09 52 65 | // IK_F|5;....Re|
|00001940| 66 72 65 73 68 28 29 3b | 0d 0a 09 09 62 72 65 61 |fresh();|....brea|
|00001950| 6b 3b 0d 0a 09 63 61 73 | 65 20 30 78 32 36 3a 20 |k;...cas|e 0x26: |
|00001960| 2f 2f 20 49 4b 5f 55 70 | 0d 0a 09 09 53 65 6c 65 |// IK_Up|....Sele|
|00001970| 63 74 52 6f 77 28 43 6c | 61 6d 70 28 47 65 74 53 |ctRow(Cl|amp(GetS|
|00001980| 65 6c 65 63 74 65 64 52 | 6f 77 28 29 20 2d 20 31 |electedR|ow() - 1|
|00001990| 2c 20 30 2c 20 43 6f 75 | 6e 74 20 2d 20 31 29 29 |, 0, Cou|nt - 1))|
|000019a0| 3b 0d 0a 09 09 56 65 72 | 74 53 42 2e 53 68 6f 77 |;....Ver|tSB.Show|
|000019b0| 28 47 65 74 53 65 6c 65 | 63 74 65 64 52 6f 77 28 |(GetSele|ctedRow(|
|000019c0| 29 29 3b 0d 0a 09 09 62 | 72 65 61 6b 3b 0d 0a 09 |));....b|reak;...|
|000019d0| 63 61 73 65 20 30 78 32 | 38 3a 20 2f 2f 20 49 4b |case 0x2|8: // IK|
|000019e0| 5f 44 6f 77 6e 0d 0a 09 | 09 53 65 6c 65 63 74 52 |_Down...|.SelectR|
|000019f0| 6f 77 28 43 6c 61 6d 70 | 28 47 65 74 53 65 6c 65 |ow(Clamp|(GetSele|
|00001a00| 63 74 65 64 52 6f 77 28 | 29 20 2b 20 31 2c 20 30 |ctedRow(|) + 1, 0|
|00001a10| 2c 20 43 6f 75 6e 74 20 | 2d 20 31 29 29 3b 0d 0a |, Count |- 1));..|
|00001a20| 09 09 56 65 72 74 53 42 | 2e 53 68 6f 77 28 47 65 |..VertSB|.Show(Ge|
|00001a30| 74 53 65 6c 65 63 74 65 | 64 52 6f 77 28 29 29 3b |tSelecte|dRow());|
|00001a40| 0d 0a 09 09 62 72 65 61 | 6b 3b 0d 0a 09 63 61 73 |....brea|k;...cas|
|00001a50| 65 20 30 78 30 44 3a 20 | 2f 2f 20 49 4b 5f 45 6e |e 0x0D: |// IK_En|
|00001a60| 74 65 72 3a 0d 0a 09 09 | 44 6f 75 62 6c 65 43 6c |ter:....|DoubleCl|
|00001a70| 69 63 6b 52 6f 77 28 47 | 65 74 53 65 6c 65 63 74 |ickRow(G|etSelect|
|00001a80| 65 64 52 6f 77 28 29 29 | 3b 0d 0a 09 09 62 72 65 |edRow())|;....bre|
|00001a90| 61 6b 3b 0d 0a 09 64 65 | 66 61 75 6c 74 3a 0d 0a |ak;...de|fault:..|
|00001aa0| 09 09 53 75 70 65 72 2e | 4b 65 79 44 6f 77 6e 28 |..Super.|KeyDown(|
|00001ab0| 4b 65 79 2c 20 58 2c 20 | 59 29 3b 0d 0a 09 09 62 |Key, X, |Y);....b|
|00001ac0| 72 65 61 6b 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |reak;...|}..}....|
|00001ad0| 66 75 6e 63 74 69 6f 6e | 20 69 6e 74 20 43 6f 6d |function| int Com|
|00001ae0| 70 61 72 65 28 55 42 72 | 6f 77 73 65 72 53 65 72 |pare(UBr|owserSer|
|00001af0| 76 65 72 4c 69 73 74 20 | 54 2c 20 55 42 72 6f 77 |verList |T, UBrow|
|00001b00| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 20 42 29 |serServe|rList B)|
|00001b10| 0d 0a 7b 0d 0a 09 73 77 | 69 74 63 68 28 53 6f 72 |..{...sw|itch(Sor|
|00001b20| 74 42 79 43 6f 6c 75 6d | 6e 29 0d 0a 09 7b 0d 0a |tByColum|n)...{..|
|00001b30| 09 63 61 73 65 20 53 65 | 72 76 65 72 3a 0d 0a 09 |.case Se|rver:...|
|00001b40| 09 72 65 74 75 72 6e 20 | 42 79 4e 61 6d 65 28 54 |.return |ByName(T|
|00001b50| 2c 20 42 29 3b 0d 0a 09 | 63 61 73 65 20 50 69 6e |, B);...|case Pin|
|00001b60| 67 3a 0d 0a 09 09 72 65 | 74 75 72 6e 20 42 79 50 |g:....re|turn ByP|
|00001b70| 69 6e 67 28 54 2c 20 42 | 29 3b 0d 0a 09 63 61 73 |ing(T, B|);...cas|
|00001b80| 65 20 4d 61 70 4e 61 6d | 65 3a 0d 0a 09 09 72 65 |e MapNam|e:....re|
|00001b90| 74 75 72 6e 20 42 79 4d | 61 70 28 54 2c 20 42 29 |turn ByM|ap(T, B)|
|00001ba0| 3b 0d 0a 09 63 61 73 65 | 20 50 6c 61 79 65 72 73 |;...case| Players|
|00001bb0| 3a 0d 0a 09 09 72 65 74 | 75 72 6e 20 42 79 50 6c |:....ret|urn ByPl|
|00001bc0| 61 79 65 72 73 28 54 2c | 20 42 29 3b 0d 0a 09 64 |ayers(T,| B);...d|
|00001bd0| 65 66 61 75 6c 74 3a 0d | 0a 09 09 72 65 74 75 72 |efault:.|...retur|
|00001be0| 6e 20 30 3b 0d 0a 09 7d | 09 0d 0a 7d 0d 0a 0d 0a |n 0;...}|...}....|
|00001bf0| 66 75 6e 63 74 69 6f 6e | 20 69 6e 74 20 42 79 50 |function| int ByP|
|00001c00| 69 6e 67 28 55 42 72 6f | 77 73 65 72 53 65 72 76 |ing(UBro|wserServ|
|00001c10| 65 72 4c 69 73 74 20 54 | 2c 20 55 42 72 6f 77 73 |erList T|, UBrows|
|00001c20| 65 72 53 65 72 76 65 72 | 4c 69 73 74 20 42 29 0d |erServer|List B).|
|00001c30| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 52 |.{...loc|al int R|
|00001c40| 65 73 75 6c 74 3b 0d 0a | 0d 0a 09 69 66 28 42 20 |esult;..|...if(B |
|00001c50| 3d 3d 20 4e 6f 6e 65 29 | 20 72 65 74 75 72 6e 20 |== None)| return |
|00001c60| 2d 31 3b 0d 0a 09 0d 0a | 09 69 66 28 54 2e 50 69 |-1;.....|.if(T.Pi|
|00001c70| 6e 67 20 3c 20 42 2e 50 | 69 6e 67 29 0d 0a 09 7b |ng < B.P|ing)...{|
|00001c80| 0d 0a 09 09 52 65 73 75 | 6c 74 20 3d 20 2d 31 3b |....Resu|lt = -1;|
|00001c90| 0d 0a 09 7d 0d 0a 09 65 | 6c 73 65 0d 0a 09 69 66 |...}...e|lse...if|
|00001ca0| 20 28 54 2e 50 69 6e 67 | 20 3e 20 42 2e 50 69 6e | (T.Ping| > B.Pin|
|00001cb0| 67 29 0d 0a 09 7b 0d 0a | 09 09 52 65 73 75 6c 74 |g)...{..|..Result|
|00001cc0| 20 3d 20 31 3b 0d 0a 09 | 7d 0d 0a 09 65 6c 73 65 | = 1;...|}...else|
|00001cd0| 0d 0a 09 7b 0d 0a 2f 2a | 09 09 69 66 28 54 2e 48 |...{../*|..if(T.H|
|00001ce0| 6f 73 74 4e 61 6d 65 20 | 3c 20 42 2e 48 6f 73 74 |ostName |< B.Host|
|00001cf0| 4e 61 6d 65 29 0d 0a 09 | 09 09 52 65 73 75 6c 74 |Name)...|..Result|
|00001d00| 20 3d 20 2d 31 3b 0d 0a | 09 09 65 6c 73 65 0d 0a | = -1;..|..else..|
|00001d10| 09 09 69 66 28 54 2e 48 | 6f 73 74 4e 61 6d 65 20 |..if(T.H|ostName |
|00001d20| 3e 20 42 2e 48 6f 73 74 | 4e 61 6d 65 29 0d 0a 09 |> B.Host|Name)...|
|00001d30| 09 09 52 65 73 75 6c 74 | 20 3d 20 31 3b 0d 0a 09 |..Result| = 1;...|
|00001d40| 09 65 6c 73 65 0d 0a 2a | 2f 0d 0a 09 09 09 52 65 |.else..*|/.....Re|
|00001d50| 73 75 6c 74 20 3d 20 30 | 3b 0d 0a 09 7d 0d 0a 0d |sult = 0|;...}...|
|00001d60| 0a 09 69 66 28 62 53 6f | 72 74 44 65 73 63 65 6e |..if(bSo|rtDescen|
|00001d70| 64 69 6e 67 29 0d 0a 09 | 09 52 65 73 75 6c 74 20 |ding)...|.Result |
|00001d80| 3d 20 2d 52 65 73 75 6c | 74 3b 0d 0a 0d 0a 09 72 |= -Resul|t;.....r|
|00001d90| 65 74 75 72 6e 20 52 65 | 73 75 6c 74 3b 0d 0a 7d |eturn Re|sult;..}|
|00001da0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 69 6e 74 |....func|tion int|
|00001db0| 20 42 79 4e 61 6d 65 28 | 55 42 72 6f 77 73 65 72 | ByName(|UBrowser|
|00001dc0| 53 65 72 76 65 72 4c 69 | 73 74 20 54 2c 20 55 42 |ServerLi|st T, UB|
|00001dd0| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|00001de0| 20 42 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 69 | B)..{..|.local i|
|00001df0| 6e 74 20 52 65 73 75 6c | 74 3b 0d 0a 0d 0a 09 69 |nt Resul|t;.....i|
|00001e00| 66 28 42 20 3d 3d 20 4e | 6f 6e 65 29 20 72 65 74 |f(B == N|one) ret|
|00001e10| 75 72 6e 20 2d 31 3b 0d | 0a 09 69 66 28 54 2e 50 |urn -1;.|..if(T.P|
|00001e20| 69 6e 67 20 3d 3d 20 39 | 39 39 39 29 20 72 65 74 |ing == 9|999) ret|
|00001e30| 75 72 6e 20 31 3b 0d 0a | 09 69 66 28 42 2e 50 69 |urn 1;..|.if(B.Pi|
|00001e40| 6e 67 20 3d 3d 20 39 39 | 39 39 29 20 72 65 74 75 |ng == 99|99) retu|
|00001e50| 72 6e 20 2d 31 3b 0d 0a | 09 0d 0a 09 69 66 28 54 |rn -1;..|....if(T|
|00001e60| 2e 48 6f 73 74 4e 61 6d | 65 20 3c 20 42 2e 48 6f |.HostNam|e < B.Ho|
|00001e70| 73 74 4e 61 6d 65 29 0d | 0a 09 7b 0d 0a 09 09 52 |stName).|..{....R|
|00001e80| 65 73 75 6c 74 20 3d 20 | 2d 31 3b 0d 0a 09 7d 0d |esult = |-1;...}.|
|00001e90| 0a 09 65 6c 73 65 0d 0a | 09 69 66 20 28 54 2e 48 |..else..|.if (T.H|
|00001ea0| 6f 73 74 4e 61 6d 65 20 | 3e 20 42 2e 48 6f 73 74 |ostName |> B.Host|
|00001eb0| 4e 61 6d 65 29 0d 0a 09 | 7b 0d 0a 09 09 52 65 73 |Name)...|{....Res|
|00001ec0| 75 6c 74 20 3d 20 31 3b | 0d 0a 09 7d 0d 0a 09 65 |ult = 1;|...}...e|
|00001ed0| 6c 73 65 0d 0a 09 7b 0d | 0a 09 09 52 65 73 75 6c |lse...{.|...Resul|
|00001ee0| 74 20 3d 20 30 3b 2f 2f | 54 2e 50 69 6e 67 20 2d |t = 0;//|T.Ping -|
|00001ef0| 20 42 2e 50 69 6e 67 3b | 0d 0a 09 7d 0d 0a 0d 0a | B.Ping;|...}....|
|00001f00| 09 69 66 28 62 53 6f 72 | 74 44 65 73 63 65 6e 64 |.if(bSor|tDescend|
|00001f10| 69 6e 67 29 0d 0a 09 09 | 52 65 73 75 6c 74 20 3d |ing)....|Result =|
|00001f20| 20 2d 52 65 73 75 6c 74 | 3b 0d 0a 0d 0a 09 72 65 | -Result|;.....re|
|00001f30| 74 75 72 6e 20 52 65 73 | 75 6c 74 3b 0d 0a 7d 0d |turn Res|ult;..}.|
|00001f40| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 69 6e 74 20 |...funct|ion int |
|00001f50| 42 79 4d 61 70 28 55 42 | 72 6f 77 73 65 72 53 65 |ByMap(UB|rowserSe|
|00001f60| 72 76 65 72 4c 69 73 74 | 20 54 2c 20 55 42 72 6f |rverList| T, UBro|
|00001f70| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 20 42 |wserServ|erList B|
|00001f80| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|00001f90| 20 52 65 73 75 6c 74 3b | 0d 0a 0d 0a 09 69 66 28 | Result;|.....if(|
|00001fa0| 42 20 3d 3d 20 4e 6f 6e | 65 29 20 72 65 74 75 72 |B == Non|e) retur|
|00001fb0| 6e 20 2d 31 3b 0d 0a 09 | 0d 0a 09 69 66 28 54 2e |n -1;...|...if(T.|
|00001fc0| 50 69 6e 67 20 3d 3d 20 | 39 39 39 39 29 20 72 65 |Ping == |9999) re|
|00001fd0| 74 75 72 6e 20 31 3b 0d | 0a 09 69 66 28 42 2e 50 |turn 1;.|..if(B.P|
|00001fe0| 69 6e 67 20 3d 3d 20 39 | 39 39 39 29 20 72 65 74 |ing == 9|999) ret|
|00001ff0| 75 72 6e 20 2d 31 3b 0d | 0a 0d 0a 09 69 66 28 54 |urn -1;.|....if(T|
|00002000| 2e 4d 61 70 44 69 73 70 | 6c 61 79 4e 61 6d 65 20 |.MapDisp|layName |
|00002010| 3c 20 42 2e 4d 61 70 44 | 69 73 70 6c 61 79 4e 61 |< B.MapD|isplayNa|
|00002020| 6d 65 29 0d 0a 09 7b 0d | 0a 09 09 52 65 73 75 6c |me)...{.|...Resul|
|00002030| 74 20 3d 20 2d 31 3b 0d | 0a 09 7d 0d 0a 09 65 6c |t = -1;.|..}...el|
|00002040| 73 65 20 0d 0a 09 69 66 | 20 28 54 2e 4d 61 70 44 |se ...if| (T.MapD|
|00002050| 69 73 70 6c 61 79 4e 61 | 6d 65 20 3e 20 42 2e 4d |isplayNa|me > B.M|
|00002060| 61 70 44 69 73 70 6c 61 | 79 4e 61 6d 65 29 0d 0a |apDispla|yName)..|
|00002070| 09 7b 0d 0a 09 09 52 65 | 73 75 6c 74 20 3d 20 31 |.{....Re|sult = 1|
|00002080| 3b 0d 0a 09 7d 0d 0a 09 | 65 6c 73 65 0d 0a 09 7b |;...}...|else...{|
|00002090| 0d 0a 09 09 52 65 73 75 | 6c 74 20 3d 20 54 2e 50 |....Resu|lt = T.P|
|000020a0| 69 6e 67 20 2d 20 42 2e | 50 69 6e 67 3b 0d 0a 09 |ing - B.|Ping;...|
|000020b0| 7d 0d 0a 0d 0a 09 69 66 | 28 62 53 6f 72 74 44 65 |}.....if|(bSortDe|
|000020c0| 73 63 65 6e 64 69 6e 67 | 29 0d 0a 09 09 52 65 73 |scending|)....Res|
|000020d0| 75 6c 74 20 3d 20 2d 52 | 65 73 75 6c 74 3b 0d 0a |ult = -R|esult;..|
|000020e0| 09 0d 0a 09 72 65 74 75 | 72 6e 20 52 65 73 75 6c |....retu|rn Resul|
|000020f0| 74 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |t;..}...|.functio|
|00002100| 6e 20 69 6e 74 20 42 79 | 50 6c 61 79 65 72 73 28 |n int By|Players(|
|00002110| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00002120| 73 74 20 54 2c 20 55 42 | 72 6f 77 73 65 72 53 65 |st T, UB|rowserSe|
|00002130| 72 76 65 72 4c 69 73 74 | 20 42 29 0d 0a 7b 0d 0a |rverList| B)..{..|
|00002140| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 52 65 73 75 6c |.local i|nt Resul|
|00002150| 74 3b 0d 0a 0d 0a 09 69 | 66 28 42 20 3d 3d 20 4e |t;.....i|f(B == N|
|00002160| 6f 6e 65 29 20 72 65 74 | 75 72 6e 20 2d 31 3b 0d |one) ret|urn -1;.|
|00002170| 0a 09 0d 0a 09 69 66 28 | 54 2e 50 69 6e 67 20 3d |.....if(|T.Ping =|
|00002180| 3d 20 39 39 39 39 29 20 | 72 65 74 75 72 6e 20 31 |= 9999) |return 1|
|00002190| 3b 0d 0a 09 69 66 28 42 | 2e 50 69 6e 67 20 3d 3d |;...if(B|.Ping ==|
|000021a0| 20 39 39 39 39 29 20 72 | 65 74 75 72 6e 20 2d 31 | 9999) r|eturn -1|
|000021b0| 3b 0d 0a 0d 0a 09 69 66 | 28 54 2e 4e 75 6d 50 6c |;.....if|(T.NumPl|
|000021c0| 61 79 65 72 73 20 3e 20 | 42 2e 4e 75 6d 50 6c 61 |ayers > |B.NumPla|
|000021d0| 79 65 72 73 29 0d 0a 09 | 7b 0d 0a 09 09 52 65 73 |yers)...|{....Res|
|000021e0| 75 6c 74 20 3d 20 2d 31 | 3b 0d 0a 09 7d 0d 0a 09 |ult = -1|;...}...|
|000021f0| 65 6c 73 65 0d 0a 09 69 | 66 20 28 54 2e 4e 75 6d |else...i|f (T.Num|
|00002200| 50 6c 61 79 65 72 73 20 | 3c 20 42 2e 4e 75 6d 50 |Players |< B.NumP|
|00002210| 6c 61 79 65 72 73 29 0d | 0a 09 7b 0d 0a 09 09 52 |layers).|..{....R|
|00002220| 65 73 75 6c 74 20 3d 20 | 31 3b 0d 0a 09 7d 0d 0a |esult = |1;...}..|
|00002230| 09 65 6c 73 65 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |.else...|{....if |
|00002240| 28 54 2e 4d 61 78 50 6c | 61 79 65 72 73 20 3e 20 |(T.MaxPl|ayers > |
|00002250| 42 2e 4d 61 78 50 6c 61 | 79 65 72 73 29 0d 0a 09 |B.MaxPla|yers)...|
|00002260| 09 7b 0d 0a 09 09 09 52 | 65 73 75 6c 74 20 3d 20 |.{.....R|esult = |
|00002270| 2d 31 3b 0d 0a 09 09 7d | 0d 0a 09 09 65 6c 73 65 |-1;....}|....else|
|00002280| 0d 0a 09 09 69 66 28 54 | 2e 4d 61 78 50 6c 61 79 |....if(T|.MaxPlay|
|00002290| 65 72 73 20 3c 20 42 2e | 4d 61 78 50 6c 61 79 65 |ers < B.|MaxPlaye|
|000022a0| 72 73 29 0d 0a 09 09 7b | 0d 0a 09 09 09 52 65 73 |rs)....{|.....Res|
|000022b0| 75 6c 74 20 3d 20 31 3b | 0d 0a 09 09 7d 0d 0a 09 |ult = 1;|....}...|
|000022c0| 09 65 6c 73 65 0d 0a 09 | 09 7b 0d 0a 09 09 09 52 |.else...|.{.....R|
|000022d0| 65 73 75 6c 74 20 3d 20 | 54 2e 50 69 6e 67 20 2d |esult = |T.Ping -|
|000022e0| 20 42 2e 50 69 6e 67 3b | 0d 0a 09 09 7d 0d 0a 09 | B.Ping;|....}...|
|000022f0| 7d 0d 0a 0d 0a 09 69 66 | 28 62 53 6f 72 74 44 65 |}.....if|(bSortDe|
|00002300| 73 63 65 6e 64 69 6e 67 | 29 0d 0a 09 09 52 65 73 |scending|)....Res|
|00002310| 75 6c 74 20 3d 20 2d 52 | 65 73 75 6c 74 3b 0d 0a |ult = -R|esult;..|
|00002320| 0d 0a 09 72 65 74 75 72 | 6e 20 52 65 73 75 6c 74 |...retur|n Result|
|00002330| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00002340| 20 53 68 6f 77 49 6e 66 | 6f 28 55 42 72 6f 77 73 | ShowInf|o(UBrows|
|00002350| 65 72 53 65 72 76 65 72 | 4c 69 73 74 20 4c 69 73 |erServer|List Lis|
|00002360| 74 29 0d 0a 7b 0d 0a 09 | 55 42 72 6f 77 73 65 72 |t)..{...|UBrowser|
|00002370| 53 65 72 76 65 72 4c 69 | 73 74 57 69 6e 64 6f 77 |ServerLi|stWindow|
|00002380| 28 47 65 74 50 61 72 65 | 6e 74 28 63 6c 61 73 73 |(GetPare|nt(class|
|00002390| 27 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c |'UBrowse|rServerL|
|000023a0| 69 73 74 57 69 6e 64 6f | 77 27 29 29 2e 53 68 6f |istWindo|w')).Sho|
|000023b0| 77 49 6e 66 6f 28 4c 69 | 73 74 29 3b 0d 0a 7d 0d |wInfo(Li|st);..}.|
|000023c0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 52 65 66 72 |...funct|ion Refr|
|000023d0| 65 73 68 28 29 0d 0a 7b | 0d 0a 09 55 42 72 6f 77 |esh()..{|...UBrow|
|000023e0| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 57 69 6e |serServe|rListWin|
|000023f0| 64 6f 77 28 47 65 74 50 | 61 72 65 6e 74 28 63 6c |dow(GetP|arent(cl|
|00002400| 61 73 73 27 55 42 72 6f | 77 73 65 72 53 65 72 76 |ass'UBro|wserServ|
|00002410| 65 72 4c 69 73 74 57 69 | 6e 64 6f 77 27 29 29 2e |erListWi|ndow')).|
|00002420| 52 65 66 72 65 73 68 28 | 29 3b 0d 0a 7d 0d 0a 0d |Refresh(|);..}...|
|00002430| 0a 66 75 6e 63 74 69 6f | 6e 20 52 65 66 72 65 73 |.functio|n Refres|
|00002440| 68 53 65 72 76 65 72 28 | 29 0d 0a 7b 0d 0a 09 54 |hServer(|)..{...T|
|00002450| 69 6d 65 50 61 73 73 65 | 64 20 3d 20 41 75 74 6f |imePasse|d = Auto|
|00002460| 50 69 6e 67 49 6e 74 65 | 72 76 61 6c 3b 0d 0a 7d |PingInte|rval;..}|
|00002470| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 52 65 50 |....func|tion ReP|
|00002480| 69 6e 67 28 29 0d 0a 7b | 0d 0a 09 55 42 72 6f 77 |ing()..{|...UBrow|
|00002490| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 57 69 6e |serServe|rListWin|
|000024a0| 64 6f 77 28 47 65 74 50 | 61 72 65 6e 74 28 63 6c |dow(GetP|arent(cl|
|000024b0| 61 73 73 27 55 42 72 6f | 77 73 65 72 53 65 72 76 |ass'UBro|wserServ|
|000024c0| 65 72 4c 69 73 74 57 69 | 6e 64 6f 77 27 29 29 2e |erListWi|ndow')).|
|000024d0| 52 65 50 69 6e 67 28 29 | 3b 0d 0a 7d 0d 0a 0d 0a |RePing()|;..}....|
|000024e0| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+